/*******************************************************************************
 * This file is part of blueprint4j www.blueprint4j.org.
 * 
 *     blueprint4j is free software: you can redistribute it and/or modify
 *     it under the terms of the GNU Lesser General Public License as published by
 *     the Free Software Foundation, either version 3 of the License, or
 *     (at your option) any later version.
 * 
 *     blueprint4j is distributed in the hope that it will be useful,
 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *     GNU Lesser General Public License for more details.
 * 
 *     You should have received a copy of the GNU Lesser General Public License
 *     along with blueprint4j. If not, see <http://www.gnu.org/licenses/>.
 ******************************************************************************/
package blueprint4j.db;

import blueprint4j.Constants;

public class FieldGroupMedical extends FieldGroup {
	private static final long serialVersionUID = 1L;
	
	public FieldString medical_aid = null;
	public FieldString medical_aid_number = null;
	public FieldString doctor_name = null;
	public FieldString doctor_number = null;
	public FieldText medicalInfo = null;
	
	public FieldString next_of_kin_name = null;
	public FieldString next_of_kin_surname = null;
	public FieldString next_of_kin_contact = null;
	public FieldString next_of_kin_email = null;

	public FieldGroupMedical(String name,Entity entity) {
		super(name,Constants.ICON_BASE+"apps/access.png",entity);
		medical_aid = new FieldString("medical_aid",0,"Medical Aid", 50,entity);
		medical_aid_number = new FieldString("medical_aid_number",0,"Medical Aid Number", 20,entity);
		doctor_name = new FieldString("doctor_name",0,"Doctors Name", 100,entity);
		doctor_number = new FieldString("doctor_number",0,"Doctors Number",15, entity);

		medicalInfo = new FieldText("extraMedicalInfo", 30, "Extra Medical Infomation", entity);
		
		next_of_kin_name = new FieldString("next_of_kin_name", 0, "Next of Kin Name", 100, entity);
		next_of_kin_surname = new FieldString("next_of_kin_surname", 0, "Next of Kin Surname", 100, entity);
		next_of_kin_contact = new FieldString("next_of_kin_contact", 0, "Next of Kin Contact No", 100, entity);
		next_of_kin_email = new FieldString("next_of_kin_email", 0, "Email Address", 100, entity);
	
	}
}

